from flask import session
from flask_script import Manager
from info import create_app

app = create_app("development")
manage = Manager(app)


@app.route('/')
def index():
    # print(app.config)
    session["token"] = "ZHANGXINSHENG"
    return "THIS IS INDEX"


if __name__ == '__main__':
    print(app.url_map)
    manage.run()
